package ysu.sxm.ptjc.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @Description  
 * @Author  baodan_Fan 
 * @Date 2021-01-07 
 */

@Getter
@Setter
@ToString
@NoArgsConstructor
@EqualsAndHashCode
@Entity
@Table ( name ="sign_info" )
public class SignInfo  implements Serializable {
	private static final long serialVersionUID =  1283939898638473582L;

	/**
	 * 签到id
	 */
	@Id
	private Long signId;

	/**
	 * 签到时间
	 */
   	@Column(name = "sign_begin_time" )
	private Timestamp signBeginTime;

	/**
	 * 签离时间


	 */
   	@Column(name = "sign_end_time" )
	private Timestamp signEndTime;

	/**
	 * 签到用户id

	 */
   	@Column(name = "user_id" )
	private int user_id;

	public Long getSignId() {
		return this.signId;
	}

	public void setSignId(Long signId) {
		this.signId = signId;
	}

	public Timestamp getSignBeginTime() {
		return this.signBeginTime;
	}

	public void setSignBeginTime(Timestamp signBeginTime) {
		this.signBeginTime = signBeginTime;
	}

	public Timestamp getSignEndTime() {
		return this.signEndTime;
	}

	public void setSignEndTime(Timestamp signEndTime) {
		this.signEndTime = signEndTime;
	}

	public int getUser_id() {
		return this.user_id;
	}

	public void setUser_id(int userId) {
		this.user_id = userId;
	}

}
